<template>
    <div class="current">
        <van-swipe :autoplay="3000" class="current-swiper">
            <van-swipe-item v-for="(image, index) in swiperImages" :key="index">
                <img v-lazy="image" />
            </van-swipe-item>
        </van-swipe>
    </div>
</template>
<style scoped lang="scss">
    .current{
        &-swiper{
            width:100%;
            height:344px;
            img{
                @include imgCover
            }
        }
    }
</style>
<script>
    import { Swipe, SwipeItem } from 'vant'
    export default{
        components:{
            [Swipe.name]:Swipe,
            [SwipeItem.name]:SwipeItem
        },
        data(){
            return {
                swiperImages:[
                    'http://pic.cheshen.cn/imgs/d28e433b8c94.jpeg',//'http://pic.cheshen.cn/imgs/d28e433b8c9456581de5dfc2e4251c3d.jpeg',
                    'http://pic6.photophoto.cn/20080215/0038038020184198_b.jpg'
                ]
            }
        },
        mounted(){},
        filters:{},
        computed:{},
        methods:{},
        watch:{}
    }
</script>